Part Number Hot Search : 
470MF 2N5465 UN9110 470MF FU5410 527305NC 00309 TC0236A
Product Description
Full Text Search
 

To Download EM84530 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 EM84530 2-IN-ONE MOUSE CONTROLLER
ry elimina Pr
GENERAL DESCRIPTION
The EM84530 Mouse Controller is specially designed to control serial mouse or PS/2 mouse device. This single chip can interface three key-switches and 4 X-Y photo-couples directly to RS-232C or 8042 controller.
FEATURES
* * * * * * * * * * * * * * * * * Include PnP software scrolling function Using 50k 1% resistor for RC oscillation. Compatible with legacy PS/2 mouse. Compatible with Microsoft serial mouse. Compatible with Microsoft PS/2 mouse. Serial or PS/2 port auto-detect. 100 bytes PnP ID code could be filled by code layer. Built-in noise immunity circuit. The sampiling rate of motion detector is up to 65KHz. Built-in three zener diodes : one in VDD to VSS, two in RTS to VDD. CMOS push-pull RXD output. Built-in current comparator for photo-couples input. Built-in three step dynamic input impedance. Three key-switches and four photo-couples inputs. RTS debouncing circuit included. Photo couple test mode included. Low power dissipation.
APPLICATION
* Serial PnP mouse. * PS/2 mouse. * Combo mouse.
PIN ASSIGNMENT
EM84530
VDD OSC.OUT NC NC CLK/RTS DATA/RXD OPT VSS 1 2 3 4 5 6 7 8 16 15 14 13 12 11 10 9 OSCR Y2 Y1 X2 X1 L M R
* This specification are subject to be changed without notice.
6.28.1999
1
EM84530 2-IN-ONE MOUSE CONTROLLER
FUNCTIONAL BLOCK DIAGRAM
ary re l i m i n P
DATA/RXD CLK/RTS
OPT X1 X2 Y1 Y2
C O M P A R A T O R
D ME OT TE IC OT NO R D E B O U N C E
COUNTER
MULTIPLEXER
DATA I/O
L M R
COMMAND & STATUS OR PNP IO SYSTEM CLOCK GENERATOR
TIMING CONTROLLER
OSCR OSC.OUT
RC OSCILLATION
PIN DESCRIPTIONS
Symbol OPT I/O I/O Function INPUT: 200k pull low to VSS. When OPT is connected to VDD, EM84530 will enter test mode. In test mode, L will be the output of X1,while M will be the output of X2. Toggling R key can change these output to be Y1,Y2 respectively. The RC oscillation clock output. Or 3mA sink current output for X, Y photo emitters. Connect 50k1% precise resistor for oscillation. Connect directly to 8042 auxiliary port CLK line in PS/2 mode or connect directly to RS-232C RTS pin in serial mode. Auto-detect the operating port by this pin. Connect directly to 8042 auxiliary port DATA line in PS/2 mode or connect directly to RS-232C RXD pin in serial mode. Three key-switches inputs. 200k resistor pull low.
OSC.OUT OSCR CLK/RTS DATA/RXD R M L X1 X2 Y1 Y2 VSS VDD
O I I/O I/O I I/O I/O I I I I
Three step dynamic input impedance. If OSC.OUT is not connected to LEDs, the dynamic input impedance will be off. Use current comparator to measure photo-couples "ON", or "OFF". Negative power. Power line.
* This specification are subject to be changed without notice.
6.28.1999
2
EM84530 2-IN-ONE MOUSE CONTROLLER
ry elimina Pr
FUNCTION DESCRIPTIONS
(I) Serial Mouse : In Microsoft mode, the transmission cycle consists of four bytes in one report. Each byte contains one start bit, 7 data bits and two stop bits. The first byte contains "L", "R" key status and four bits of the two most significant bits in horizontal counter and vertical counter. The second byte represents the value accumulated by horizontal counter, the third byte is the data of the vertical counter. The last byte contains only "M" key status. The vertical data is transmitted in 2's complement. Output byte arrange Bit no. 1st byte 2nd byte 3rd byte 4th byte ...... ...... .... .... .... 6 1 0 0 0 5 L H5 V5' 0 4 R H4 V4' M 3 V7' H3 V3' 0 2 V6' H2 V2' 0 1 H7 H1 V1' 0 0 H6 H0 V0' 0
Plug & Play ID code When RTS input from low to high, EM83810 will send a string ID code. Customer can specify the contains of the code area and the total lenth below 100 bytes by changing the code layer. Field Name Other ID Begin ID PnP Revision EISA ID Product ID Serial Number Class ID Driver ID User Name Length <17 1 2 3 4 9 <34 <42 <42 Field Data 4D, 5A, 40, 00, 00, 00 08 01, 24 25, 2D, 23 10, 10, 10, 11 3C 3C, 2D, 2F, 35, 33, 25 3C, 30, 2E, 30, 10 26, 10, 21 3C, 25, 2D, 23, 00, 33, 23, 32, 2F, 2C, 2C, 29, 2E, 27, 00, 33, 25, 32, 29, 21, 2C, 00, 2D, 2F, 35, 33, 25 21, 15 09 Description ID for legacy Begin PnP ID Version 1.00 EMC 0001 None provided Mouse Class PnP0F0A EMC SCROLLING SERIAL MOUSE
Checks um End PnP
2 1
2 bytes checks um End PnP ID
(II) Legacy PS/2 mouse operating: (A) Operating mode There are four operating modes in PS/2 mouse: a. Reset Mode: In this mode a self-test is initiated during power-on or by a Reset command. After reset signal, PS/2 mouse will (a) Send completion code AA & ID code 00. (b) Set default :
* This specification are subject to be changed without notice.
6.28.1999
3
EM84530 2-IN-ONE MOUSE CONTROLLER
sampling rate: 100 reports/s non-autospeed stream mode 2 dot/count disable
ary re l i m i n P
b. Stream Mode: The maximum rate of transfer is the programmed sample rate. Data report is transmitted if (a) switch is pressed (b) movement has been detect c. Remote Mode: Data is transmitted only in response to a Read Data command. d. Wrap Mode: Any byte of data sent by the system, except hex EC ( Reset wrap mode ) or hex FF ( Reset ), is returned by EM84530. B). PS/2 Mouse Data Report: a). In stream mode: A data report is sent at the end of a sample interval. b). In remote mode: A data report is sent in response to Read Data command. c). Data report format: Byte 1 Bit 0 1 2 3 4 5 6 7 0-7 0-7 Description Left button status; 1 = pressed Right button status; 1 = pressed Middle button status; 1 = pressed Reserve X data sign; 1 = negative Y data sign; 1 = negative X data overflow; 1 = overflow Y data overflow; 1 = overflow X data ( D0 - D7 ) Y data ( D0 - D7 )
2 3
C) PS/2 mouse Data Transmission: a). EM84530 generates the clocking signal when sending data to and receiving data from the system. b). The system requests EM84530 receive system data output by forcing the DATA line to an inactive level and allowing CLK line to go to an active level.
* This specification are subject to be changed without notice.
6.28.1999
4
EM84530 2-IN-ONE MOUSE CONTROLLER
ry elimina Pr
c). Data transmission frame: Bit 1 2-9 10 11 Function Start bit ( always 0 ) Data bits ( D0 - D7 ) Parity bit ( odd parity ) Stop bit ( always 1 )
d). Data Output ( data from EM84530 to system ): If CLK is low ( inhibit status ) , data is no transmission. If CLK is high and DATA is low ( request-to-send ), data is updated. Data is received from the system and no transmission are started by EM84530 until CLK and DATA both high. If CLK and DATA both are high, the transmission is ready. DATA is valid prior to the falling edge of CLK and beyond the rising edge of CLK. During transmission, EM84530 check for line contention by checking for an inactive level on CLK at intervals not to exceed 100u sec. Contention occurs when the system lowers CLK to inhibit EM84530 output after EM84530 has started a transmission. If this occurs before the rising edge of the tenth clock, EM84530 internal store its data in its buffer and returns DATA and CLK to an active level. If the contention does not occur by the tenth clock, the transmission is complete. Following a transmission, the system inhibits EM84530 by holding CLK low until it can service the input or until the system receives a request to send a response from EM84530. e). Data Input ( from system to EM84530 ): The system first check if EM84530 is transmitting data. If EM84530 is transmitting, the system can override the output forcing CLK to an inactive level prior to the tenth clock. If EM84530 transmission is beyond the tenth clock, the system receives the data. If EM84530 is not transmitting or if the system choose to override the output, the system force CLK to an inactive level for a period of not less than 100 sec while preparing for output. When the system is ready to output start bit (0), it allows CLK go to active level. If request-to-send is detected, EM84530 clocks 11 bits. Following the tenth clock EM84530 checks for an active level on the DATA line, and if found, force DATA low , and clock once more. If occurs framing error, EM84530 continue to clock until DATA is high, then clocks the line control bit and request a Resend. When the system sends out a command or data transmission that requires a response, the system waits for EM84530 to response before sending its next output. D). PS/2 Mouse Error Handling: a). A Resend command ( FE ) following receipt of an invalid input or any input with incorrect parity. b). If two invalid input are received in succession, an error code of hex (FC) is send to the system. c). The counter accumulators are cleared after receiving any command except "Resend". d). EM84530 receives a Resend command ( FE ), it transmit its last packet of data. e). In the stream mode "Resend" is received by EM84530 following a 3-byte data packet transmission to the system. EM84530 resend the 3-byte data packet prior to clearing the counter.
* This specification are subject to be changed without notice.
6.28.1999
5
EM84530 2-IN-ONE MOUSE CONTROLLER
f). A response is sent within 25 ms if a). The system requires a response
ary re l i m i n P
b). An error is detected in the transmission g). If EM84530 is in the stream mode : a). The system disables EM84530 before issuing any command requiring a response. b). When a command requiring a response is issued by the system ,another command should not be issue until either the response is received or 25ms has passed. E). PS/2 Mouse Commands Description: There are 16 valid commands that transmits between the system and EM84530. The "FA" code is always the first response to any valid input received from the system other than a Set Wrap Mode or Resend command. The following table list the commands: Hex Code FF FE F6 F5 F4 F3,XX F2 F0 EE EC EB EA E9 E8,XX E7 E6 Command Reset Resend Set Default Disable Enable Set Sampling Rate Read Device Type Set Remote Mode Set Wrap Mode Reset Wrap Mode Read Data Set Stream Mode Status Request Set Resolution Set Auto-speed Reset Auto-speed Echo code FA,AA,00 XX,(XX,XX) FA FA FA FA,FA FA,00 FA FA FA FA,XX,XX,XX FA FA,XX,XX,XX FA,FA FA FA
The following describes valid commands: a). Reset ( FF ) EM84530 operation: a). Completion the reset. b). Transmitted FA, AA, 00 to the system. c). Set default: sampling rate: 100 reports/s non-autospeed stream mode 2 dots/count disable
* This specification are subject to be changed without notice.
6.28.1999
6
EM84530 2-IN-ONE MOUSE CONTROLLER
b). Resend ( FE ) a). Any time EM84530 receives an invalid command, it returns a Resend command to the system. b). When EM84530 receives a Resend command, it retransmits its last packet of data. If the last packet was a Resend command, it transmits the packet just prior to the Resend command. c). In stream mode, if a Resend command is received by EM84530 immediately following a 3-byte data packet transmission to the system. c). Set Default ( F6 ) The command reinitializes all conditions to the power-on defaults. d). Disable ( F5 ) This command is used in the stream mode to stop transmissions from EM84530. e). Enable ( F4 ) Begins transmissions, if in stream mode. f). Set Sampling Rate ( F3,XX ) In the stream mode, this command sets the sampling rate to the value indicated by byte hex XX, shown in following: Second byte XX 0A 14 28 3C 50 64 C8 Sample Rate 10/sec 20/sec 40/sec 60/sec 80/sec 100/sec 200/sec
ry elimina Pr
g). Read Device Type ( F2 ) EM84530 always echoes " FA,00 " following this command. h). Set Remote Mode ( F0 ) Data value are reported only in response to a Read Data command. i). Set Wrap Mode ( EE ) Wrap mode remains until Reset ( FF ) or Reset Wrap Mode ( EC ) is received. j). Reset Wrap Mode ( EC ) EM84530 returns to the previous mode of operation after receiving this command. k). Read Data ( EB ) This command is executed in either remote or stream mode. The data is transmitted even if there has been no movement since the last report or the button status is unchanged. Following a Read Data command, the registers are cleared after a data transmission. l). Set Stream Mode ( EA ) This command sets EM84530 in stream mode.
* This specification are subject to be changed without notice.
6.28.1999
7
EM84530 2-IN-ONE MOUSE CONTROLLER
m). Status Request ( E9 ) When this command is issued by the system, EM84530 respond with a 3-byte status report as follows: Byte 1 Bit 0 1 2 3 4 5 6 7 0-7 0-7 Description 1 = Right button pressed 1 = Middle button pressed 1 = Left button pressed Reserved 0 = Normal speed, 1 = Autospeed 0 = Disabled, 1 = Enabled 0 = Stream mode, 1 = Remote mode Reserved Current resolution setting ( D0 - D7 ) Current sampling rate ( D0 - D7 )
ary re l i m i n P
2 3
n). Set Resolution ( E8,XX ) EM84530 provides four resolutions selected by the second byte of this command as follows: Second Byte XX 00 01 02 03 Resolution 8 dots/count 4 dots/count 2 dots/count 1 dots/count
o). Set Autospeed ( E7 ) At the end of a sample interval in the stream mode, the current X and Y data values are converted new values. The sign bits are not involved in this conversion. The conversion is only in stream mode. The relationship between the input and output count follows: Input 0 1 2 3 4 5 N(6 ) p). Reset Autospeed ( E6 ) This command restore normal speed. Ouput 0 1 1 3 6 9 2.0*N
* This specification are subject to be changed without notice.
6.28.1999
8
EM84530 2-IN-ONE MOUSE CONTROLLER
(III) Microsoft PS/2 scrolling mouse mode:
ry elimina Pr
(A) Entering procedure: Except in WRAP mode, while EM84530 received the following consecutive command. i. F3 C8 ii. F3 64 iii. F3 50 (B) Operating: a. All of the commands in legacy mode still be valid. b. The ID code of read device type command (F2) will changed from "00" to be "03". c. Data report will be four bytes format: Byte 1 Bit 0 1 2 3 4 5 6 7 0-7 0-7 0-7 Description Left button status; 1 = pressed Right button status; 1 = pressed Middle button status; 1 = pressed Reserve X data sign; 1 = negative Y data sign; 1 = negative X data overflow; 1 = overflow Y data overflow; 1 = overflow X data ( D0 - D7 ) Y data ( D0 - D7 ) Reserved ( 0 ) ---- set sampling rate 200/sec ---- set sampling rate 100/sec ---- set sampling rate 80/sec
2 3 4
(C) Exiting Microsoft PS/2 mouse mode: There are two ways to exit: a. Power off. b. Reset command (FF).
* This specification are subject to be changed without notice.
6.28.1999
9
EM84530 2-IN-ONE MOUSE CONTROLLER ABSOLUTE MAXIMUM RATINGS
Parameter Temperature under bias Storage temperature range Supply voltage Power dissipation Min. 0 -65 -0.3 -
ary re l i m i n P
Ratings Max. 70 150 7.5 500 Unit C C V mW
DC ELECTRICAL CHARACTERISTICS (TA=25C to 70C) Parameters
X1,X2,Y1,Y2 low input reference current X1,X2,Y1,Y2 high input reference current X1,X2,Y1,Y2 input current (80A) X1,X2,Y1,Y2 input current (500A) L,M,R,OPT input low voltage L,M,R,OPT input high voltage L,M,R input current (Vin=5V) OPT input current OPT high output current (Iopt=20mA) L,M,R,X1,X2,Y1,Y2 input leakage current (Vin=0V) OPT input leakage current (Vin=5V) OSC.OUT Sink current
Sym.
IPL IPh VPI1 VPI2 Vail Vaih Rmi Ixi Vopt Iil Iih Iosc
Min.
70 0.8 1.5 3.5 18 -18 4.5 0 0 3
Typ.
-
Max.
106 1.2 2.1 1.5 56 -56 -1.0 1.0 3.6
Unit
A A V V V V A A V A A mA
PS/2 mouse mode : (TA=25C to 70C) Parameters
Operating voltage Operating current CLK, DATA postive-going threshold voltage CLK, DATA negative-going threshold voltage DATA, CLK input current DATA,CLK low output voltage (no load)
Sym.
VDD IOp Vt+ Vt (Vin=0V ) (Iprl=-2mA) Idc Vprl
Min.
4.5 3.2 1.2 0.56 -
Typ.
-
Max.
5.5 1 3.8 1.9 1.86 0.4
Unit
V mA V V mA V
Serial mouse mode : (TA=25C to 70C) Parameters
Operating voltage Operating current (VDD=5.4V, RTS=VDD) Operating current (VDD=6.2V, RTS=VDD) RTS operating current (VDD=5.6V, RTS=11V) RTS operating current (VDD=5.4V, RTS=12.5V) RXD high output voltage (Vrh=Vrts-2.6V) RXD low output voltage (Vrl=Vss+2.6V) RTS high input voltage RTS low input voltage * All parameters in above table are compared with VSS
Sym.
VDD VRTS IOP1 IOP2 Irts1 Irts2 Irh Irl Vrts+ Vrts-
Min.
4 3 4 2 9.6 -
Typ.
5.6 12.2 -
Max.
6.2 13 1 1.8 -2 6.8
Unit
V V mA mA mA mA mA mA V V
6.28.1999 10
* This specification are subject to be changed without notice.
EM84530 2-IN-ONE MOUSE CONTROLLER
AC ELECTRICAL CHARACTERISTICS (TA=25C to 70C) PS/2 mouse mode : Parameters Sym. Min.
Oscillating Frequency Key Debounce Rising Edge Crossed Width Falling Edge Crossed Width Mouse CLK Active Time Mouse CLK Inactive Time Time that Mouse Sample DATA from CLK rising Edge System CLK Active Time System CLK Inactive Time Time from DATA Transition to Falling Edge of CLK Time from rising Edge of CLK to DATA Transition Time to mouse Inhibit after the 11th CLK to ensure mouse does not start another Transmission Fosc Tkd Tr Tf Tmca Tmci Tmdc Tsca Tsci Tsdc Tscd Tpi 37.0-3% 13.5 13.5 0
ry elimina Pr
Typ.
37.0 12 40.5 40.5 13.5 40.5 40.5 13.5 27.0 -
Max.
37.0+3% 50
Unit
KHz ms us us us us us us us us us us
Serial mouse mode : Parameters
Oscillating Frequency Key Debounce Rising Edge Crossed Width Falling Edge Crossed Width Transmission Time Start bit Time Data bit time Stop bit Time Mode code delay Time X1, X2,Y1,Y2 Input Impedance Max. Typ. Min.
16.0K 15.0K 14.0K 13.0K 12.0K 11.0K 10.0.K 9.0K 8.0K 7.0K 6.0K 5.0K 4.0K 3.0K 2.0K 1.0K 0 10.0M 1.0 2.0 VOLTS (LIN)
Sym.
Fosc Tkd Tr Tf Tmx Ts Td Tp Trd
Min.
32.4-3% 15.4 15.4 11
Typ.
32.4 13 33.33 833.3 833.3 833.3 -
Max.
32.4+3% 14
Unit
KHz ms us us ms us us us ms
3.0
4.0
5.0
* This specification are subject to be changed without notice.
6.28.1999
11
EM84530 2-IN-ONE MOUSE CONTROLLER
TIMING DIAGRAM
(A) PS/2 mouse mode
(A) Photo-couples pulse width
ary re l i m i n P
X1(Y1) X2(Y2) Tr Tf
(B) Receiving Data
1st CLK 2nd CLK 9th CLK 10th CLK 11th CLK
Inhibit
CLK
Tmca Tmdc Tmci
DATA
Start Bit Bit0-Bit7 Parity Bit Stop Bit Line Control Bit
(C) Sending Data
1st CLK
2nd CLK
10th CLK
11th CLK
CLK
Tsci Tsca Tsdc Tscd Stop Bit Tpi
DATA
Start Bit Bit0-Bit7 Parity Bit
* This specification are subject to be changed without notice.
6.28.1999
12
EM84530 2-IN-ONE MOUSE CONTROLLER
ry elimina Pr
(B) Serial mouse mode :
(A) RXD output :
Key in/release Mouse RXD Tmx Tmx
(B) Bytes structure :
RXD
1st 2rd 3nd 4nd
(C) Bits structure :
RXD LINE Data Bit no.
0
Ts Td
1
2
3
4
5
Td
6
Td TP Tp
Td Td
Td Td
01
(D) PnP ID code echo timing :
RTS >< Trd RXD 4D 5A 40 00 00 00 08 PnP ID code 09
"4D" code Bit no
Ts
0
1
2
3
4
5
Tp Tp
6.28.1999 13
* This specification are subject to be changed without notice.
APPLICATION CIRCUIT
5.1V
1
VDD CLK/RTS Y1 X2 X1
NC NC
Y2
15 14 13 12 4 3 11 10 9
0.1F 10F
RXD TXD 6 DATA/RXD 7 OPT 2
OSC.OUT
50K*
1 2 3 5 1 2 3 4 5 6 16 OSCR
L M
DATA
* This specification are subject to be changed without notice.
DTR SG DSR RTS
4 5 6
GND +5V CLK
7 8 9 8V SS
R
ary re l i m i n P
EM84530
1K 4 chips digital PT 2 chips analog PT
* 50 k must be precise resistor
EM84530 2-IN-ONE MOUSE CONTROLLER
6.28.1999
14


▲Up To Search▲   

 
Price & Availability of EM84530

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X